//
//  PKDispatchUtils.swift
//  Panku
//
//  Created by mac on 2017/4/7.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

class PKDispatchUtils: NSObject {
    
    //延迟执行
    class func delay(time:Double,block:@escaping (() -> Void)) -> Void{
        DispatchQueue.main.asyncAfter(deadline: .now() + time, execute: block)
    }
}
